﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BKH.MyUserControl.UCHienThi;
using BKH.MyUserControl.UCMenu;



namespace BKH
{
    public partial class frmHome : Form
    {
        public frmHome()
        {
            InitializeComponent();
        }

        private void splitContainer1_Panel2_Paint(object sender, PaintEventArgs e)
        {

        }

        private void pcNhanSu_Click(object sender, EventArgs e)
        {
            
            MessageBox.Show("Chao ban");
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
         
        }

        private void pcBenhNhan_Click(object sender, EventArgs e)
        {
            bgWelcom.Controls.Clear();
            UCChucNangBenhNhan ucbn = new UCChucNangBenhNhan();
            bgWelcom.Controls.Add(ucbn);

            gbHienThi.Controls.Clear();
            UCHienThiDanhSachBN htdsbn = new UCHienThiDanhSachBN();
            gbHienThi.Controls.Add(htdsbn);

        }

        private void frmHome_Load(object sender, EventArgs e)
        {

        }
    }
}
